package com.china.great.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("nacos-provider")
public interface ProviderClient {

    @RequestMapping("/hi")
    List hi(@RequestParam(value = "name", defaultValue = "forezp", required = false) String name);
}
